<m-card autoHeight>
	<ng-container card-head>
		<div class="card-head">
			<div class="g-card-title">人员信息</div>
			<div>
				<ng-content></ng-content>
			</div>
		</div>
	</ng-container>
	<div class="row">
		<div class="photo">
			<img class="photo-size" [src]="personnel.photo" />
		</div>
		<div class="info">
			<div class="row head">
				<div class="col-6 col-lg-3 ">
					账号状态：<m-user-status-text [status]="personnel.status"></m-user-status-text>
				</div>
				<div class="col-6 col-lg-3">LDAP账户：{{ personnel.ldap_username }}</div>
				<div class="col-6 col-lg-3">编辑时间：{{ personnel.updated_at | date }}</div>
				<div class="col-6 col-lg-3">创建时间：{{ personnel.created_at | date }}</div>
			</div>
			<hr />
			<div class="row body">
				<div class="col-6 col-lg-3">人员姓名：{{ personnel.full_name }}</div>
				<div class="col-6 col-lg-3">工号：{{ personnel.job_number }}</div>
				<div class="col-6 col-lg-3">
					在线状态：
					<m-online-status-text [status]="personnel.online"></m-online-status-text>
				</div>
				<div class="col-6 col-lg-3">
					终端权限：<m-user-type-text [type]="personnel.utype"></m-user-type-text>
				</div>
				<div class="col-6 col-lg-3" *ngIf="false">
					性别：
					<m-user-sex-text [sex]="personnel.sex"></m-user-sex-text>
				</div>
				<div class="col-6 col-lg-3" *ngIf="false">
					年龄：{{ personnel.age ? personnel.age + '岁' : '未知' }}
				</div>
				<div class="col-6 col-lg-3" *ngIf="false">部门：{{ personnel.department_name }}</div>
				<div class="col-6 col-lg-3" *ngIf="false">职位：{{ personnel.position_name }}</div>
				<div class="col-6 col-lg-3">手机号：{{ personnel.phone }}</div>
				<div class="col-6 col-lg-3" *ngIf="false">邮箱：{{ personnel.email }}</div>
				<div class="col-12">备注：{{ personnel.remark }}</div>
			</div>
		</div>
	</div>
</m-card>
